from django.conf.urls.defaults import *


urlpatterns = patterns('',
  url(r'^cities/(?P<slug>[-\w]+)/$',
    view    = 'places.views.city_detail',
    name    = 'place_city_detail',
  ),
  url(r'^cities/$', 
    view    = 'places.views.city_list',
    name    = 'place_city_list',
  ),
  url(r'^types/(?P<slug>[-\w]+)/$',
    view    = 'places.views.place_type_detail',
    name    = 'place_type_detail',
  ),
  url(r'^types/$',
    view    = 'places.views.place_type_list',
    name    = 'place_type_list',
  ),
  url(r'^(?P<slug>[-\w]+)/$',
    view    = 'places.views.place_detail',
    name    = 'place_detail',
  ),
  url(r'^$',
    view    = 'places.views.place_list',
    name    = 'place_list',
  ),
)